﻿using KinTN_WMS_CL.Model;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KinTN_WMS_CL.UserControlModels
{
    public class HomeViewModel : BindableBase
    {


        private List<EnviromentList> _enviromentLists; // 默认每页显示 10 项

        public List<EnviromentList> EnviromentList
        {
            get => _enviromentLists;
            set => SetProperty(ref _enviromentLists, value);
        }


        public HomeViewModel()
        {
            _enviromentLists = new List<EnviromentList>();
            EnviromentList EnviromentInfo = new EnviromentList()
            {
                EnItemValue = "执行成功！",
                EnItemName = "开始执行"
            };
            _enviromentLists.Add(EnviromentInfo);
             EnviromentInfo = new EnviromentList()
            {
                EnItemValue = "执行成功！",
                EnItemName = "开始执行"
            };
            _enviromentLists.Add(EnviromentInfo);
             EnviromentInfo = new EnviromentList()
            {
                EnItemValue = "执行成功！",
                EnItemName = "开始执行"
            };
            _enviromentLists.Add(EnviromentInfo);
             EnviromentInfo = new EnviromentList()
            {
                EnItemValue = "执行成功！",
                EnItemName = "开始执行"
            };
            _enviromentLists.Add(EnviromentInfo);
        }
    }
}
